<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //if语法结构
        //如果if里面的条件表达式的结果为真true则执行大括号里的语句
        //为假时，不执行大括号内语句，执行if后的语句
        if (3 > 2) {
            alert('sunjinyao')
        }
    </script>
</head>

<body>

</body>

</html>